package com.aizuda.boot.modules.common.constant.enums;

/**
 * 条件类型枚举
 */
public enum ConditionTypeEnum {
    EQUALS("EQUALS", "等于"),
    NOT_EQUALS("NOT_EQUALS", "不等于"),
    GREATER_THAN("GREATER_THAN", "大于"),
    LESS_THAN("LESS_THAN", "小于"),
    GREATER_THAN_OR_EQUAL("GREATER_THAN_OR_EQUAL", "大于等于"),
    LESS_THAN_OR_EQUAL("LESS_THAN_OR_EQUAL", "小于等于"),
    BELONGS_TO("BELONGS_TO", "属于"),
    NOT_BELONGS_TO("NOT_BELONGS_TO", "不属于");

    private final String code;
    private final String msg;

    ConditionTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
} 